﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name：  Inventory
    /// Author:       Fei Wang
    /// Creation Date: 2011-12-29
    /// Description:  库存信息主要记录 货品的ID ，仓库ID， 货品数量 
    /// QA:
    /// </summary>
    [Table("Inventories")]
    public class Inventory
    {
        //库存ID
        [Key]
        public int ID { get; set; }

        //库存数量
        public int   Count { get; set; }

        //货品的规格型号
        public string ModelandSpecification { get; set;}

        //存放货品的ID
        public virtual Product Product { get; set; }

    }
}
